package com.wzh.glsc.member.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wzh.common.utils.PageUtils;
import com.wzh.common.utils.Query;
import com.wzh.glsc.member.dao.MemberWeiBoInfoDao;
import com.wzh.glsc.member.entity.MemberWeiBoInfoEntity;
import com.wzh.glsc.member.service.MemberWeiBoInfoService;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author xiaoming
 * @PackageName:com.wzh.glsc.member.service.impl
 * @ClassName:@{NAME}
 * @Description:
 * @date:@{DATE}@{TIME}
 */
@Service("MemberWeiBoInfoService")
public class MemberWeiBoInfoServiceImpl extends ServiceImpl<MemberWeiBoInfoDao, MemberWeiBoInfoEntity> implements MemberWeiBoInfoService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MemberWeiBoInfoEntity> page = this.page(
                new Query<MemberWeiBoInfoEntity>().getPage(params),
                new QueryWrapper<MemberWeiBoInfoEntity>()
        );

        return new PageUtils(page);
    }
}
